package com.jiyun;

import com.pp.third.remote.annotation.EnableFeignLabResourceServer;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.Map;

@SpringBootApplication(scanBasePackages = {"com.jiyun","com.pp"})
@Slf4j
@MapperScan(basePackages = "com.jiyun.mapper")
@EnableFeignLabResourceServer
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class,args);
        log.info("我成功了");
    }
}
